# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-raet
_pkgname=raet
pkgver=0.6.8
pkgrel=3
pkgdesc="Reliable Asynchronous Event Transport Protocol"
url="https://github.com/RaetProtocol/raet"
arch="noarch !armhf !armv7 !x86" # Limited by py3-libnacl
license="Apache-2.0"
replaces="py-raet" # for backwards compatibility
provides="py-raet=$pkgver-r$pkgrel" # for backwards compatibility
depends="py3-ioflo py3-libnacl py3-six python3"
makedepends="py3-setuptools py3-setuptools-git"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
01279e7414ec3edc9f2bc0641cb9e0606ebf5700b5ce37a05fd5919f3274b3b43aad64110baf4c4b1fda3843cb1a87b6be4ab592a8f62e82b3a716a86ae61b20  raet-0.6.8.tar.gz
"
